<template>
  <el-container class="container">
        <!-- 头部区域 -->
        <el-header>
            <home-header></home-header>
        </el-header>
        <!-- 主题区域 -->
            <el-container>
                <!-- 侧边栏区域 -->
                <home-menu></home-menu>
                <!-- 主要内容区域 -->
                <el-main>
                  <!-- 占位符 -->
                  <router-view></router-view>
                </el-main>
            </el-container>
    </el-container>
</template>

<script>
import HomeHeader from '@/components/header/Header'
import HomeMenu from '@/components/menu/Menu'
export default {
  name: 'Home',
  data () {
    return {}
  },
  components: {
    HomeHeader,
    HomeMenu
  }
}
</script>

<style scoped lang="less">
  .el-header {
    padding: 0;
    height: 70px !important;
  }
  .el-container {
    height: 830px;
    position: relative;
  }
// 内容
  .el-main {
    background-color: #E6E6E6;
    overflow: hidden;
    padding: 11px 0 0 20px
  }
</style>
